package com.example.admin.sjb;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

/**
 * Created by admin on 2017/11/7.
 */

public class MainActivity extends AppCompatActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

    }
    public void renji(View view){
        Intent intent = new Intent(MainActivity.this,ComputerActivity.class);
        startActivity(intent);
    }
    public void renren(View view){
        Intent intent = new Intent(MainActivity.this,PeopleActivity.class);
        startActivity(intent);
    }
}
